﻿@model GUI.Models.RegisterModel
@{
    ViewBag.Title = GUI.Ressources.Resource.Register;
    Layout = "~/Views/Shared/_Layout.cshtml";
}





     <div style="padding:5px">
        @* Here I will add Language Switcher *@
        @{
            foreach (var i in GUI.Ressources.SiteLanguages.AvailableLanguages)
            {
                @Html.ActionLink(i.LangFullName, "ChangeLanguage", "Account", new{lang = i.LangCultureName}, null) <text>&nbsp;</text>
            }
        }
    </div>



@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary()

  <table>
      <caption>   @GUI.Ressources.Resource.RegistrationForm</caption>
      <tr>
          <td>   @GUI.Ressources.Resource.UserName</td>
        
         <td> @Html.EditorFor(m=>m.UserName)</td>
      <td>   @Html.ValidationMessageFor(model => model.UserName)</td>  
      </tr>
      <tr>
          <td>  @GUI.Ressources.Resource.Password </td>
         <td> @Html.PasswordFor(m => m.Password)</td>
      </tr>
      <tr>
          <td> @GUI.Ressources.Resource.ConfirmPassword</td>
         <td>   @Html.PasswordFor(m => m.ConfirmPassword)</td>
      </tr>
      <tr>
          <td><input type="submit" value="@GUI.Ressources.Resource.Register" /></td>
      </tr>
  </table>
    
  
            
               
          
            
               
         
               
             
    

}

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
